 /**
 * jims
 */
 package com.jims.master.modules.sync.service;


import com.jims.master.common.persistence.Page;
import com.jims.master.common.service.CrudService;
import com.jims.master.modules.sync.dao.PrescriptionEnDetailsDao;
import com.jims.master.modules.sync.entity.PrescriptionEnDetails;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


 /**
  * 西药处方详情表Service
  * @author ct
  * @version 2017-11-16
  */
 @Service
 @Transactional(readOnly = true)
 public class PrescriptionEnDetailsService extends CrudService<PrescriptionEnDetailsDao, PrescriptionEnDetails> {

     @Override
     public PrescriptionEnDetails get(String id) {
         return super.get(id);
     }

     @Override
     public List<PrescriptionEnDetails> findList(PrescriptionEnDetails prescriptionEnDetails) {
         return super.findList(prescriptionEnDetails);
     }

     @Override
     public Page<PrescriptionEnDetails> findPage(Page<PrescriptionEnDetails> page, PrescriptionEnDetails prescriptionEnDetails) {
         return super.findPage(page, prescriptionEnDetails);
     }

     @Override
     @Transactional(readOnly = false)
     public int save(PrescriptionEnDetails prescriptionEnDetails) {
         return super.save(prescriptionEnDetails);
     }

     @Override
     @Transactional(readOnly = false)
     public int delete(PrescriptionEnDetails prescriptionEnDetails) {
         return super.delete(prescriptionEnDetails);
     }

 }